package org.hxyjs.dao;

import org.hxyjs.entity.PraiseRes;
import org.hxyjs.page.PageInfo;

import java.util.List;

public interface PraiseResDao {
    public List<PraiseRes> getPraiseResByPage(PageInfo pageInfo) throws Exception;

    public List<PraiseRes> getAllPraiseRes() throws Exception;

    public PraiseRes getPraiseResByUrid(String urid) throws Exception;

    //增删改的返回值都是整数
    Integer deletePraiseResByUrid(String urid) throws Exception;

    Integer updatePraiseResByUrid(PraiseRes praiseRes) throws Exception;

    Integer addPraiseRes(PraiseRes praiseRes) throws Exception;




}
